import request from "@/utils/request";
import qs from "qs";

export function cusAddDocsQuery(data) {
  return request({
    url:
      process.env.VUE_APP_URL1 +
      "/projectmanage_service/projectManage/interface_cusadddocument_query.shtml",
    method: "post",
    data: qs.stringify(data)
  });
}

export function querySalesman(data) {
  return request({
    url:
      process.env.VUE_APP_URL1 +
      "/projectmanage_service/projectManageInter/interface_salesman_query.shtml",
    method: "post",
    data: qs.stringify(data)
  });
}

export function addCustomer(data) {
  return request({
    url:
      process.env.VUE_APP_URL1 +
      "/projectmanage_service/projectManage/interface_cusadddocument_save.shtml",
    method: "post",
    data: qs.stringify(data)
  });
}

export function updateCustomer(data) {
  return request({
    url:
      "/projectmanage_service/projectManage/interface_cusadddocument_update.shtml",
    method: "post",
    data: qs.stringify(data)
  });
}
